package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 高频面试题对象 ya_high_interview
 * 
 * @author ruoyi
 * @date 2025-09-03
 */
public class YaHighInterview extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 面试题ID */
    @Excel(name = "面试题ID")
    private Long id;

    /** 阶段 */
    @Excel(name = "阶段")
    private Long stage;

    /** 面试题内容 */
    @Excel(name = "面试题内容")
    private String question;

    /** 答案 */
    @Excel(name = "答案")
    private String answer;

    /** 知识点 */
    @Excel(name = "知识点")
    private String knowledgePoint;

    /** 重要性，1-一般,2-重要,3-非常重要 */
    @Excel(name = "重要性，1-一般,2-重要,3-非常重要")
    private Long importance;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setStage(Long stage) 
    {
        this.stage = stage;
    }

    public Long getStage() 
    {
        return stage;
    }

    public void setQuestion(String question) 
    {
        this.question = question;
    }

    public String getQuestion() 
    {
        return question;
    }

    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }

    public void setKnowledgePoint(String knowledgePoint) 
    {
        this.knowledgePoint = knowledgePoint;
    }

    public String getKnowledgePoint() 
    {
        return knowledgePoint;
    }

    public void setImportance(Long importance) 
    {
        this.importance = importance;
    }

    public Long getImportance() 
    {
        return importance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stage", getStage())
            .append("question", getQuestion())
            .append("answer", getAnswer())
            .append("knowledgePoint", getKnowledgePoint())
            .append("importance", getImportance())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
